<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
  <head>
  </head>
  <style>
        *{
            margin: 0px;
        }
        .xiangq{
           float: left;
        }
        .fanhui{
            float: right;
        }
    </style>
  <body>
	<div style="width: 70%; padding-left: 10%;">
        <div class="xiangq" style="width:130px; ">
            <h1 style="font-size: 26px;width: 130px;text-align: left;">评&nbsp;价</h1>
        </div>
        <div class="fanhui" style="line-height:30px;width: 120px;height:30px;text-align: center;background-color: orangered">
            <a href="getAll.action" style="font-size: 20px;text-decoration: none;color: linen">返回列表</a>
        </div>
        <div style="border: 1px solid orangered;width: 100%;clear: left;"></div>
        <div style="padding-left: 30px;padding-top: 20px;padding-bottom: 30px;">
            
            <table style="border: 1px solid #B0C4DE;width:95%;height: 80px;">
                <tr>
                    <th rowspan="2" style="width: 60%;width: 20%;"><img src="uImg/${detailUser.userId}.jpg" style="width: 80px;"></th>
                    <td style="padding-left: 15px;font-size: 15px;">被评卖家：${detailUser.realName}</td>
                </tr>
                <tr>
                    <td style="padding-left: 15px;font-size: 15px;">信誉度：${detailUser.credit}</td>
                </tr>
            </table>
         </div>
         <div style="padding-left: 30px;padding-bottom: 30px;">
            <font size="4" style="padding-left: 5px;">交易单号:${orderLists.orderId }</font>
            <font size="4" style="padding-left: 100px;">交易时间:${orderLists.data }</font>
            <table style="border: 1px solid #B0C4DE;width:95%;height: 100px;">
                <tr>
                    <th style="width: 60%;">商品详情</th>
                    <th style="width: 10%;">单价</th>
                    <th style="width: 15%;">数量</th>
                    <th style="width: 15%;">小计</th>
                </tr>
                <tr>
                    <td style="padding-left: 15px;font-size: 15px;">${orderLists.goods.goodName }</td>
                    <th style="color: red;font-size: 15px;">￥${orderLists.price}</th>
                    <th style="font-size: 15px;">${orderLists.count}</th>
                    <th style="color: red;font-size: 15px;">￥${orderLists.price*orderLists.count}</th>
                </tr>
            </table>
        </div>
        <div style="padding-left: 30px;padding-bottom: 10px;">
        	<form action="handle_buypingj?orderId=${orderLists.orderId }" method="post">
        		<font size="4" style="padding-left: 5px;padding-bottom: 10px;">对卖家信誉评价</font><br/>
        		<div style="padding-left: 10px;padding-top: 10px;padding-bottom: 10px;">
        		<input type="radio" name="xinyu" value="1" ><font style="color: green;">好评</font>&nbsp;&nbsp;&nbsp;&nbsp;
        		<input type="radio" name="xinyu" value="2" ><font style="color: red;">差评</font><br/>
        		</div>
        		<input type="submit" value="提交评论">
        	</form>
        </div>
    </div>
  </body>
</html>
